/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sml;

/**
 *
 * @author Jose Carlos Palma
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        
        Ram ram = new Ram();
        ram.set(0, 1007);
        ram.set(1, 1008);
        ram.set(2, 2007);
        ram.set(3, 3008);
        ram.set(4, 2109);
        ram.set(5, 1109);
        ram.set(6, 4300);
        ram.set(7, 0000);
        ram.set(8, 0000);
        ram.set(9, 0000);
        CPU cpu = new CPU();
        
        Screen.print(cpu);
        Screen.print(ram);
        
        cpu.execute(ram);
    }
}
